#ifndef __AT91SAM7_DEVICES_H__
#define __AT91SAM7_DEVICES_H__

void pio_set(unsigned pin, int on);

void spi_init(void);
void spi_xmit(unsigned val);

void ser_init(void);
void ser_putc(unsigned c);
void ser_puts(char *s);

void dprintf(const char *fmt, ...);

#endif

